{include file="index/head" /}
<div class="box">
  <div class="box-head">
  <a href="{:url('addclassification')}" class="btn"><i class="icon-plus-square-o"></i>添加分类</a>
  <a href="javascript:history.go(0);" class="btn fr"><i class="icon-refresh"></i> 刷新</a>
  </div>
  <table class="table">
    <tr>
      <th>ID</th>
      <th>分类名称</th>
      <th>创建时间</th>
      <th width="350">操作</th>
    </tr>
    {volist name="list" id="vo"}
    <tr>
      <td>{$vo.id}</td>
      <td>{$vo.name}</td>
      <td>{$vo.creat_time}</td>
      <td>
        <a href="{:url('addclassification',['id'=>$vo.id])}" class="btn"><i class="icon-edit"></i> 编辑</a>
        <a href="javascript:void(0);" onclick="sycms.del('{:url('delclassification',['id'=>$vo.id])}')" class="btn red"><i class="icon-trash-o"></i> 删除</a>
      </td>
    </tr>
    {/volist}
    <tr>
      <td colspan="8"><div class="page">{$page}</div></td>
    </tr>
  </table>
</div>

